<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1"/>
  <title>bpkg(1) bpkg 0.17.0</title>

  <style type="text/css">
/* file      : common.css
 * license   : MIT; see accompanying LICENSE file
 */

html
{
  font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 0.01em;

  color: #292929;
}

body {margin: 0;} /* There is non-0 default margin for body. */

/* See notes on what's going on here. */
body {min-width: 17em;}
@media only screen and (min-width: 360px)
{
  body {min-width: 19em;}
}

/*
 * Header (optional).
 */

#header-bar
{
  width: 100%;

  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);

  padding: .4em 0 .42em 0;
  margin: 0 0 1.4em 0;
}

#header
{
  /* Same as in #content. */
  max-width: 41em;
  margin: 0 auto 0 auto;
  padding: 0 .4em 0 .4em;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  width: 100%;
  display: table;
  border: none;
  border-collapse: collapse;
}

#header-logo, #header-menu
{
  display: table-cell;
  border: none;
  padding: 0;
  vertical-align: middle;
}

#header-logo {text-align: left;}
#header-menu {text-align: right;}

/* These overlap with #header's margin because of border collapsing. */
#header-logo {padding-left: .4em;}
#header-menu {padding-right: .4em;}

#header-logo a
{
  color: #000;
  text-decoration: none;
  outline: none;
}
#header-logo a:visited {color: #000;}
#header-logo a:hover, #header-logo a:active {color: #000;}

#header-menu a
{
  font-size: 0.889em;
  line-height: 1.4em;
  text-align: right;
  margin-left: 1.2em;
  white-space: nowrap;
  letter-spacing: 0;
}

#header-menu a
{
  color: #000;
  outline: none;
}
#header-menu a:visited {color: #000;}
#header-menu a:hover, #header-menu a:active
{
  color: #3870c0;
  text-decoration: none;
}

/* Flexbox-based improvements though the above works reasonably well. */
#header-menu-body
{
  width: 100%;

  display: -webkit-inline-flex;
  display: inline-flex;

  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;

  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}

/* Whether we want it (and at which point) depends on the size of the menu. */
/*
@media only screen and (max-width: 567px)
{
  #header-menu-body
  {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}
*/

/*
 * Content.
 */

#content
{
  max-width: 41em;
  margin: 0 auto 0 auto;
  padding: 0 .4em 0 .4em; /* Space between text and browser frame. */

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*
 * Footer (optional).
 */

#footer
{
  color: #767676;
  font-size: 0.7223em;
  line-height: 1.3em;
  margin: 2.2em 0 1em 0;
  text-align: center;
}

#footer a
{
  color: #767676;
  text-decoration: underline;
}
#footer a:visited {color: #767676;}
#footer a:hover, #footer a:active {color: #3870c0;}

/* Screen size indicator in the footer. The before/after content is in case
   we don't have any content in the footer. Margin is to actually see the
   border separate from the browser frame. */

/*
#footer:before {content: "\A0";}
#footer:after {content: "\A0";}

#footer
{
  border-left: 1px solid;
  border-right: 1px solid;
  margin-left: 1px;
  margin-right: 1px;
}

@media only screen and (max-width: 359px)
{
  #footer {border-color: red;}
}

@media only screen and (min-width: 360px) and (max-width: 567px)
{
  #footer {border-color: orange;}
}

@media only screen and (min-width: 568px) and (max-width: 1023px)
{
  #footer {border-color: blue;}
}

@media only screen and (min-width: 1024px)
{
  #footer {border-color: green;}
}
*/

/*
 * Common elements.
 */

p, li, dd {text-align: justify;}
.code {text-align: left;} /* Manually aligned. */
pre {text-align: left;}   /* If it is inside li/dd. */

/* Notes. */

.note
{
  color: #606060;
}

div.note
{
  margin: 2em 0 2em 0; /* The same top/bottom margings as pre box. */

  padding-left: 0.5em;
  border: 0.25em;
  border-left-style: solid;
  border-color: #808080;

  page-break-inside: avoid;
}

div.note :first-child {margin-top:    0;}
div.note :last-child  {margin-bottom: 0;}

span.note::before {content: "[Note: "}
span.note::after  {content: "]"}

/* Links. */
a
{
  color: #3870c0;
  /*color: #4078c0;*/
  text-decoration: none;
}

a:hover, a:active
{
/*color: #006fbf;*/
/*color: #0087e7;*/
  text-decoration: underline;
}

a:visited
{
/*color: #003388;*/
  color: #00409c;
}

/* Standard paragraph. */

p, pre {margin: 1em 0 1em 0;}

/* Standard lists. */
ul, ol, dl {margin: 1em 0 1em 0;}
ul li, ol li {margin: 0 0 .4em 0;}
ul li {list-style-type: circle;}
dl dt {margin: 0 0 0 0;}
dl dd {margin: 0 0 .6em 1.8em;}

code, pre
{
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.92em;
  letter-spacing: 0;
}

pre {white-space: pre-wrap;}
@media only screen and (max-width: 567px)
{
  pre {word-break: break-all;}
}

/* Use page rather than system font settings. */
input
{
  font-family: inherit;
  font-weight: inherit;
  font-size:   inherit;
  line-height: inherit;
}

/* file      : pre-box.css
 * license   : MIT; see accompanying LICENSE file
 */

/* Note: see also p-code-box.css. */

pre
{
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.2em;
  padding: .8em .4em .8em .4em;
  margin: 2em -.4em 2em -.4em; /* Use margins of #content. */
}

/* file      : man.css
 * license   : MIT; see accompanying LICENSE file
 */

/* Bases:
 *
 * common.css
 * pre-box.css
 *
 */

#content
{
  max-width: 42.1em;
  padding-left: 1.5em; /* Reserve for the heading. */
}

h1
{
  font-weight: normal;
  font-size: 1.58em;
  line-height: 1.4em;
  margin: 1.6em 0 .6em -.88em;
}

/* Definition list for options. */
dl.options dt {margin: 1em 0 0 0;}
dl.options dd {margin: .1em 0 0 4.5em;}

/* Make lists inside option descriptions a tad smaller. */
dl.options dd ul, dl.options dd ol, dl.options dd dl
{
  font-size: 0.889em;
  line-height: 1.4em;
}

  </style>

</head>
<body>
<div id="content">

  <h1>NAME</h1>

  <p><b><code>bpkg</code></b> &#8211; package dependency manager</p>
  <h1>SYNOPSIS</h1>

  <p class="code"><code><b>bpkg --help</b>
  <br/>
  <b>bpkg --version</b>
  <br/>
  <b>bpkg help</b> [<i>command</i> | <i>topic</i>]
  <br/>
  <b>bpkg</b> [<i>common-options</i>] <i>command</i> [<i>command-options</i>]
  <i>command-args</i></code></p>

  <h1>DESCRIPTION</h1>

  <p>The <code><b>build2</b></code> package dependency manager is used to
  manipulate build configurations, packages, and repositories using a set of
  commands that are summarized below.</p>

  <p>For a detailed description of any command or help topic, use the
  <code><b>help</b></code> command or see the corresponding man page (the man
  pages have the <code><b>bpkg-</b></code> prefix, for example <a
  href="bpkg-help.xhtml"><code><b>bpkg-help(1)</b></code></a>). Note also that
  <code><i>command-options</i></code> and <code><i>command-args</i></code> can
  be specified in any order and <code><i>common-options</i></code> can be
  specified as part of <code><i>command-options</i></code>.</p>

  <p>A <code><b>bpkg</b></code> <i>build configuration</i> is a directory that
  contains packages built with similar settings. For example, a configuration
  can be for a specific target (<code><b>i686</b></code>,
  <code><b>x86_64</b></code>), compiler (<code><b>clang</b></code>,
  <code><b>gcc</b></code>) compile options (<code><b>-O3</b></code>,
  <code><b>-g</b></code>), and so on. Configurations are relatively cheap and
  can be created and thrown away as needed. Configurations can be moved and
  copied by simply moving and copying the directories. Note, however, that a
  move or copy may render some packages out-of-date. In the
  <code><b>build2</b></code> build system terms a <code><b>bpkg</b></code>
  build configuration is an amalgamation that contains packages as subprojects
  (see <a
  href="bpkg-cfg-create.xhtml"><code><b>bpkg-cfg-create(1)</b></code></a> for
  details).</p>

  <p>Build configurations can be linked with each other so that while a
  package is built in one configuration, some of its dependencies can be built
  in linked configurations (see <a
  href="bpkg-cfg-create.xhtml"><code><b>bpkg-cfg-create(1)</b></code></a> for
  details).</p>

  <p>A <i>bpkg package</i> is an archive or directory (potentially in a
  version control system) that contains a <code><b>build2</b></code> project
  plus the package <code><b>manifest</b></code> file. <code><b>bpkg</b></code>
  can either use package archives/directories directly from the filesystem or
  it can fetch them from repositories.</p>

  <p>A <i>bpkg repository</i> is a collection of packages as well as
  information about prerequisite and complement repositories. <i>Archive</i>,
  <i>directory</i> and <i>version control</i>-based repositories are
  supported. A repository is identified by its location which can be a local
  filesystem path or a URL. See <a
  href="bpkg-repository-types.xhtml"><code><b>bpkg-repository-types(1)</b></code></a>
  for details on the repository structures and URL formats.</p>

  <p>If the same version of a package is available from multiple repositories,
  then they are assumed to contain identical package content. In such cases
  <code><b>bpkg</b></code> prefers local repositories over remote and among
  local repositories it prefers the ones with external packages (see <a
  href="bpkg-pkg-unpack.xhtml"><code><b>bpkg-pkg-unpack(1)</b></code></a> for
  details on external packages).</p>

  <p>A typical <code><b>bpkg</b></code> workflow would consist of the
  following steps.</p>

  <dl>
  <dt style="margin-bottom:1em"><b>Create Configuration</b></dt>
  <dd><pre>bpkg create cc                   \
  config.cxx=clang++             \
  config.cc.coptions=-O3         \
  config.install.root=/usr/local \
  config.install.sudo=sudo</pre></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Add Source
  Repositories</b></dt>
  <dd><pre>bpkg add https://pkg.cppget.org/1/stable
bpkg add https://example.org/foo.git</pre>

  <p>Repeat this command to add more repositories.</p></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Fetch Available Packages
  List</b></dt>
  <dd><pre>bpkg fetch</pre></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Fetch and Build
  Packages</b></dt>
  <dd><pre>bpkg build foo bar</pre></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Drop Package</b></dt>
  <dd>If some packages are no longer needed, we can remove them from the
  configuration.

  <pre>bpkg drop foo</pre></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Refresh Available Packages
  List</b></dt>
  <dd><pre>bpkg fetch</pre></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Upgrade Packages</b></dt>
  <dd><pre>bpkg build bar</pre></dd>

  <dt style="margin-top:1em;margin-bottom:1em"><b>Install Packages</b></dt>
  <dd><pre>bpkg install bar</pre></dd>
  </dl>

  <h1 id="commands">COMMANDS</h1>

  <dl class="options">
    <dt><code><b>help</b></code> [<code><i>topic</i></code>]</dt>
    <dd><a href="bpkg-help.xhtml"><code><b>bpkg-help(1)</b></code></a> &#8211;
    show help for a command or help topic</dd>

    <dt><code><b>cfg-create</b></code>|<code><b>create</b></code></dt>
    <dd><a
    href="bpkg-cfg-create.xhtml"><code><b>bpkg-cfg-create(1)</b></code></a>
    &#8211; create configuration</dd>

    <dt><code><b>cfg-info</b></code></dt>
    <dd><a href="bpkg-cfg-info.xhtml"><code><b>bpkg-cfg-info(1)</b></code></a>
    &#8211; print configuration information</dd>

    <dt><code><b>cfg-link</b></code>|<code><b>link</b></code></dt>
    <dd><a href="bpkg-cfg-link.xhtml"><code><b>bpkg-cfg-link(1)</b></code></a>
    &#8211; link configuration</dd>

    <dt><code><b>cfg-unlink</b></code>|<code><b>unlink</b></code></dt>
    <dd><a
    href="bpkg-cfg-unlink.xhtml"><code><b>bpkg-cfg-unlink(1)</b></code></a>
    &#8211; unlink configuration</dd>

    <dt><code><b>rep-info</b></code></dt>
    <dd><a href="bpkg-rep-info.xhtml"><code><b>bpkg-rep-info(1)</b></code></a>
    &#8211; print repository information</dd>

    <dt><code><b>rep-add</b></code>|<code><b>add</b></code></dt>
    <dd><a href="bpkg-rep-add.xhtml"><code><b>bpkg-rep-add(1)</b></code></a>
    &#8211; add repository to configuration</dd>

    <dt><code><b>rep-remove</b></code>|<code><b>remove</b></code></dt>
    <dd><a
    href="bpkg-rep-remove.xhtml"><code><b>bpkg-rep-remove(1)</b></code></a>
    &#8211; remove repository from configuration</dd>

    <dt><code><b>rep-list</b></code>|<code><b>list</b></code></dt>
    <dd><a href="bpkg-rep-list.xhtml"><code><b>bpkg-rep-list(1)</b></code></a>
    &#8211; list repositories in configuration</dd>

    <dt><code><b>rep-fetch</b></code>|<code><b>fetch</b></code></dt>
    <dd><a
    href="bpkg-rep-fetch.xhtml"><code><b>bpkg-rep-fetch(1)</b></code></a>
    &#8211; fetch list of available packages</dd>

    <dt><code><b>rep-create</b></code></dt>
    <dd><a
    href="bpkg-rep-create.xhtml"><code><b>bpkg-rep-create(1)</b></code></a>
    &#8211; create repository</dd>

    <dt><code><b>pkg-status</b></code>|<code><b>status</b></code></dt>
    <dd><a
    href="bpkg-pkg-status.xhtml"><code><b>bpkg-pkg-status(1)</b></code></a>
    &#8211; print package status</dd>

    <dt><code><b>pkg-build</b></code>|<code><b>build</b></code></dt>
    <dd><a
    href="bpkg-pkg-build.xhtml"><code><b>bpkg-pkg-build(1)</b></code></a>
    &#8211; build package</dd>

    <dt><code><b>pkg-drop</b></code>|<code><b>drop</b></code></dt>
    <dd><a href="bpkg-pkg-drop.xhtml"><code><b>bpkg-pkg-drop(1)</b></code></a>
    &#8211; drop package</dd>

    <dt><code><b>pkg-install</b></code>|<code><b>install</b></code></dt>
    <dd><a
    href="bpkg-pkg-install.xhtml"><code><b>bpkg-pkg-install(1)</b></code></a>
    &#8211; install package</dd>

    <dt><code><b>pkg-uninstall</b></code>|<code><b>uninstall</b></code></dt>
    <dd><a
    href="bpkg-pkg-uninstall.xhtml"><code><b>bpkg-pkg-uninstall(1)</b></code></a>
    &#8211; uninstall package</dd>

    <dt><code><b>pkg-update</b></code>|<code><b>update</b></code></dt>
    <dd><a
    href="bpkg-pkg-update.xhtml"><code><b>bpkg-pkg-update(1)</b></code></a>
    &#8211; update package</dd>

    <dt><code><b>pkg-test</b></code>|<code><b>test</b></code></dt>
    <dd><a href="bpkg-pkg-test.xhtml"><code><b>bpkg-pkg-test(1)</b></code></a>
    &#8211; test package</dd>

    <dt><code><b>pkg-clean</b></code>|<code><b>clean</b></code></dt>
    <dd><a
    href="bpkg-pkg-clean.xhtml"><code><b>bpkg-pkg-clean(1)</b></code></a>
    &#8211; clean package</dd>

    <dt><code><b>pkg-bindist</b></code>|<code><b>bindist</b></code></dt>
    <dd><a
    href="bpkg-pkg-bindist.xhtml"><code><b>bpkg-pkg-bindist(1)</b></code></a>
    &#8211; generate binary distribution package</dd>

    <dt><code><b>pkg-verify</b></code></dt>
    <dd><a
    href="bpkg-pkg-verify.xhtml"><code><b>bpkg-pkg-verify(1)</b></code></a>
    &#8211; verify package archive</dd>

    <dt><code><b>pkg-fetch</b></code></dt>
    <dd><a
    href="bpkg-pkg-fetch.xhtml"><code><b>bpkg-pkg-fetch(1)</b></code></a>
    &#8211; fetch package archive</dd>

    <dt><code><b>pkg-unpack</b></code></dt>
    <dd><a
    href="bpkg-pkg-unpack.xhtml"><code><b>bpkg-pkg-unpack(1)</b></code></a>
    &#8211; unpack package archive</dd>

    <dt><code><b>pkg-checkout</b></code></dt>
    <dd><a
    href="bpkg-pkg-checkout.xhtml"><code><b>bpkg-pkg-checkout(1)</b></code></a>
    &#8211; check out package version</dd>

    <dt><code><b>pkg-configure</b></code></dt>
    <dd><a
    href="bpkg-pkg-configure.xhtml"><code><b>bpkg-pkg-configure(1)</b></code></a>
    &#8211; configure package</dd>

    <dt><code><b>pkg-disfigure</b></code></dt>
    <dd><a
    href="bpkg-pkg-disfigure.xhtml"><code><b>bpkg-pkg-disfigure(1)</b></code></a>
    &#8211; disfigure package</dd>

    <dt><code><b>pkg-purge</b></code></dt>
    <dd><a
    href="bpkg-pkg-purge.xhtml"><code><b>bpkg-pkg-purge(1)</b></code></a>
    &#8211; purge package</dd>
  </dl>

  <h1>HELP TOPICS</h1>

  <dl class="options">
    <dt><code><b>common-options</b></code></dt>
    <dd><a
    href="bpkg-common-options.xhtml"><code><b>bpkg-common-options(1)</b></code></a>
    &#8211; details on common options</dd>

    <dt><code><b>default-options-files</b></code></dt>
    <dd><a
    href="bpkg-default-options-files.xhtml"><code><b>bpkg-default-options-files(1)</b></code></a>
    &#8211; specifying default options</dd>

    <dt><code><b>repository-types</b></code></dt>
    <dd><a
    href="bpkg-repository-types.xhtml"><code><b>bpkg-repository-types(1)</b></code></a>
    &#8211; repository types, structure, and URLs</dd>

    <dt><code><b>repository-signing</b></code></dt>
    <dd><a
    href="bpkg-repository-signing.xhtml"><code><b>bpkg-repository-signing(1)</b></code></a>
    &#8211; how to sign repository</dd>

    <dt><code><b>argument-grouping</b></code></dt>
    <dd><a
    href="bpkg-argument-grouping.xhtml"><code><b>bpkg-argument-grouping(1)</b></code></a>
    &#8211; argument grouping facility</dd>
  </dl>

  <h1>COMMON OPTIONS</h1>

  <p>The common options are summarized below with a more detailed description
  available in <a
  href="bpkg-common-options.xhtml"><code><b>bpkg-common-options(1)</b></code></a>.</p>

  <dl class="options">
    <dt><code><b>-v</b></code></dt>
    <dd>Print essential underlying commands being executed.</dd>

    <dt><code><b>-V</b></code></dt>
    <dd>Print all underlying commands being executed.</dd>

    <dt><code><b>--quiet</b></code>|<code><b>-q</b></code></dt>
    <dd>Run quietly, only printing error messages.</dd>

    <dt><code><b>--verbose</b></code> <code><i>level</i></code></dt>
    <dd>Set the diagnostics verbosity to <code><i>level</i></code> between 0
    and 6.</dd>

    <dt><code><b>--stdout-format</b></code> <code><i>format</i></code></dt>
    <dd>Representation format to use for printing to
    <code><b>stdout</b></code>.</dd>

    <dt><code><b>--jobs</b></code>|<code><b>-j</b></code> <code><i>num</i></code></dt>
    <dd>Number of jobs to perform in parallel.</dd>

    <dt><code><b>--no-result</b></code></dt>
    <dd>Don't print informational messages about the outcome of performing a
    command or some of its parts.</dd>

    <dt><code><b>--structured-result</b></code> <code><i>fmt</i></code></dt>
    <dd>Write the result of performing a command in a structured form.</dd>

    <dt><code><b>--progress</b></code></dt>
    <dd>Display progress indicators for long-lasting operations, such as
    network transfers, building, etc.</dd>

    <dt><code><b>--no-progress</b></code></dt>
    <dd>Suppress progress indicators for long-lasting operations, such as
    network transfers, building, etc.</dd>

    <dt><code><b>--diag-color</b></code></dt>
    <dd>Use color in diagnostics.</dd>

    <dt><code><b>--no-diag-color</b></code></dt>
    <dd>Don't use color in diagnostics.</dd>

    <dt><code><b>--build</b></code> <code><i>path</i></code></dt>
    <dd>The build program to be used to build packages.</dd>

    <dt><code><b>--build-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional option to be passed to the build program.</dd>

    <dt><code><b>--fetch</b></code> <code><i>path</i></code></dt>
    <dd>The fetch program to be used to download resources.</dd>

    <dt><code><b>--fetch-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional option to be passed to the fetch program.</dd>

    <dt><code><b>--fetch-timeout</b></code> <code><i>sec</i></code></dt>
    <dd>The fetch and fetch-like (for example, <code><b>git</b></code>)
    program timeout.</dd>

    <dt><code><b>--pkg-proxy</b></code> <code><i>url</i></code></dt>
    <dd>HTTP proxy server to use when fetching package manifests and archives
    from remote <code><b>pkg</b></code> repositories.</dd>

    <dt><code><b>--git</b></code> <code><i>path</i></code></dt>
    <dd>The git program to be used to fetch git repositories.</dd>

    <dt><code><b>--git-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional common option to be passed to the git program.</dd>

    <dt><code><b>--sha256</b></code> <code><i>path</i></code></dt>
    <dd>The sha256 program to be used to calculate SHA256 sums.</dd>

    <dt><code><b>--sha256-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional option to be passed to the sha256 program.</dd>

    <dt><code><b>--tar</b></code> <code><i>path</i></code></dt>
    <dd>The tar program to be used to extract package archives.</dd>

    <dt><code><b>--tar-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional option to be passed to the tar program.</dd>

    <dt><code><b>--openssl</b></code> <code><i>path</i></code></dt>
    <dd>The openssl program to be used for crypto operations.</dd>

    <dt><code><b>--openssl-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional option to be passed to the openssl program.</dd>

    <dt><code><b>--auth</b></code> <code><i>type</i></code></dt>
    <dd>Types of repositories to authenticate.</dd>

    <dt><code><b>--trust</b></code> <code><i>fingerprint</i></code></dt>
    <dd>Trust repository certificate with a SHA256
    <code><i>fingerprint</i></code>.</dd>

    <dt><code><b>--trust-yes</b></code></dt>
    <dd>Assume the answer to all authentication prompts is
    <code><b>yes</b></code>.</dd>

    <dt><code><b>--trust-no</b></code></dt>
    <dd>Assume the answer to all authentication prompts is
    <code><b>no</b></code>.</dd>

    <dt><code><b>--git-capabilities</b></code> <code><i>up</i></code>=<code><i>pc</i></code></dt>
    <dd>Protocol capabilities (<code><i>pc</i></code>) for a
    <code><b>git</b></code> repository URL prefix
    (<code><i>up</i></code>).</dd>

    <dt><code><b>--pager</b></code> <code><i>path</i></code></dt>
    <dd>The pager program to be used to show long text.</dd>

    <dt><code><b>--pager-option</b></code> <code><i>opt</i></code></dt>
    <dd>Additional option to be passed to the pager program.</dd>

    <dt><code><b>--options-file</b></code> <code><i>file</i></code></dt>
    <dd>Read additional options from <code><i>file</i></code>.</dd>

    <dt><code><b>--default-options</b></code> <code><i>dir</i></code></dt>
    <dd>The directory to load additional default options files from.</dd>

    <dt><code><b>--no-default-options</b></code></dt>
    <dd>Don't load default options files.</dd>

    <dt><code><b>--keep-tmp</b></code></dt>
    <dd>Don't remove the <code><b>bpkg</b></code>'s temporary directory at the
    end of the command execution and print its path at the verbosity level 2
    or higher.</dd>
  </dl>

  <h1>ENVIRONMENT</h1>

  <p>Commands executed by <code><b>bpkg</b></code> while the current and
  linked build configuration databases are open will have the
  <code><b>BPKG_OPEN_CONFIGS</b></code> environment variable set to the
  space-separated, <code><b>"</b></code>-quoted list of absolute and
  normalized configuration directory paths. This can be used by build system
  hooks and/or programs that they execute.</p>

  <h1>EXIT STATUS</h1>

  <dl>
  <dt><code><b>0</b></code></dt>
  <dd>Success.</dd>

  <dt><code><b>1</b></code></dt>
  <dd>Fatal error.</dd>

  <dt><code><b>2</b></code></dt>
  <dd>Recoverable error which is likely to disappear if the command is
  re-executed.</dd>
  </dl>

  <h1>ENVIRONMENT</h1>

  <p>The <code><b>BPKG_DEF_OPT</b></code> environment variable is used to
  suppress loading of default options files in nested <code><b>bpkg</b></code>
  invocations. Its values are <code><b>false</b></code> or
  <code><b>0</b></code> to suppress and <code><b>true</b></code> or
  <code><b>1</b></code> to load.</p>

  <h1>BUGS</h1>

  <p>Send bug reports to the
  <a href="mailto:users@build2.org">users@build2.org</a> mailing list.</p>

</div>

<div id="footer">
Copyright &#169; 2014-2024 the build2 authors.<br/>
Permission is granted to copy, distribute and/or modify this document under
the terms of the MIT License.
</div>

</body>
</html>
